home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- rem ------------------------------------------------------------------------
- rem Program name: COPYUNQ.BAT from Compute Sept. 85
- rem
- rem Command syntax: COPYUNQ source drive letter target drive letter
- rem ------No colons are necessary--------
- rem
- rem Purpose: Only unique files are copied from source to target disk
- rem ------------------------------------------------------------------------
- %1:
- for %%f in (*.*) do if exist %2:%%f echo %%f Will not be copied
- pause Ready to begin copies.. Press enter to begin or FnBreak to end
- cls
- for %%f in (*.*) do if not exist %2:%%f copy %1:%%f %2:/v >NUL
- %2: